package com.example.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.example.mybatisplus.enums.SexEnum;
import lombok.*;

/**
 * @author Xiaohong X Gou
 * @createTime 2022-11-08 10:09
 * @description
 */
@Data
//@TableName("t_user")
public class User {
//    @TableId(value = "uid",type = IdType.AUTO)
    @TableId("uid")
    private Long id;
    @TableField("user_name")
    private String name;

    private Integer age;

    private String email;

    private SexEnum sex;

    @TableLogic
    private Integer isDeleted;
}
